﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo03
{
    class Batmobile:Car,IFly
    {
        public Batmobile(string brand, string type) : base(brand, type)
        {
            
        }

        public void Fly()
        {
            Console.WriteLine("我是一辆{0},我的型号是{1},我正在飞行",this.Brand,this.Type);
        }
    }
}
